package com.javaapi.designmode.builder;

public class TestBuilder {

	public static void main(String[] args) {
		PersonDirector pd=new PersonDirector();
		Person person=pd.constructPerson(new ManBuider());
		
		System.out.println(person.getHead());
		System.out.println(person.getBody());
		System.out.println(person.getFoot());
	}

}
